package com.ruoyi.passengers.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 会员信息对象 passenger_memberships
 * 
 * @author ruoyi
 * @date 2025-08-17
 */
public class PassengerMemberships extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员ID */
    private Long id;

    /** 关联的乘客ID */
    @Excel(name = "关联的乘客ID")
    private Long passengerId;

    /** 用户级别 */
    @Excel(name = "用户级别")
    private Long userLevel;

    /** 成长值 */
    @Excel(name = "成长值")
    private Long growthValue;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPassengerId(Long passengerId) 
    {
        this.passengerId = passengerId;
    }

    public Long getPassengerId() 
    {
        return passengerId;
    }

    public void setUserLevel(Long userLevel) 
    {
        this.userLevel = userLevel;
    }

    public Long getUserLevel() 
    {
        return userLevel;
    }

    public void setGrowthValue(Long growthValue) 
    {
        this.growthValue = growthValue;
    }

    public Long getGrowthValue() 
    {
        return growthValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("passengerId", getPassengerId())
            .append("userLevel", getUserLevel())
            .append("growthValue", getGrowthValue())
            .toString();
    }
}
